package com.chris.core.socket.netty.dto;


import io.netty.channel.Channel;
import io.netty.channel.socket.SocketChannel;

/**
 * SocketChannel 集合
 */
public class SocketChannelMapDTO {
    private String id="";
    private String type="";
    //private String name ="";
    private Channel socketChannel = null;

    public SocketChannelMapDTO(String cid,String type, Channel socketChannel)
    {
        this.id=cid;
        this.type=type;
        this.socketChannel=socketChannel;
    }


/*
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
*/
    public Channel getSocketChannel() {
        return socketChannel;
    }

    public void setSocketChannel(Channel socketChannel) {
        this.socketChannel = socketChannel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
